﻿@using OrderingPlatform.MvcExtension;
@model OrderingPlatform.Model.UserManage.RegisterModel
@{
    Layout = null;
    var list = new List<KeyValuePair<string, string>> { new KeyValuePair<string, string>("企业用户", OrderingPlatform.MvcExtension.ConstLibrary.CategoryCompanyName), new KeyValuePair<string, string>("个人用户", OrderingPlatform.MvcExtension.ConstLibrary.CategoryUserName) };
}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>会员注册—网上订餐平台</title>
    <meta content="网上订餐平台| 外卖|订餐|酒店|饭店|餐位|餐厅|菜系|餐单|菜单|菜品" name="keywords" />
    <meta content="网上订餐平台为你提供外卖预定，酒店预定，餐厅预定以及菜系介绍等服务" name="Description" />
    <link href="@Url.Content("~/Content/css/login.css")" rel="stylesheet" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")"></script>
     <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"></script>
</head>
<body>
  
    <div class="space" style="height: 10px">
    </div>
    <div class="page700" id="loginForm">
        @using (Html.BeginForm())
        {
            <div class="logoleft">
            </div>
            <div class="logoriht">
                <div class="space" style="height: 20px">
                </div>
                <div class="logoformtop">
                    <div class="left"></div>
                    <div class="center">
                        <h3>欢迎注册网络订餐平台会员</h3>
                    </div>
                    <div class="right"></div>
                </div>
                <div class="logoform">
                    <div class="left" style="height: 510px;"></div>
                    <div class="center" style="height: 510px;">
                        <div class="space"></div>
                        <ul style="float: left; width: 403px;">
                            <li>
                                <span class="typeText">@Html.TextBoxFor(m => m.UserCode, new { placeholder = "用户名", @class = "registerText" })</span>
                            </li>
                            <li><span class="typeText">@Html.TextBoxFor(m => m.Email, new { placeholder = "电子邮箱", @class = "registerText" })</span></li>

                            <li>

                                <span class="typeText">@Html.PasswordFor(m => m.Password, new { placeholder = "密码", @class = "registerText" })</span>

                            </li>
                            <li>

                                <span class="typeText">@Html.PasswordFor(m => m.ConfirmPassword, new { placeholder = "确认密码", @class = "registerText" })</span>

                            </li>
                            <li>
                                <span>
                                    <select name="Category">
                                        <option>--请选择注册类别--</option>
                                        @Html.SelectOptions(list, Model.Category, false)
                                    </select></span>

                            </li>
                            <li style="text-align: center">

                                <span class="btn_button" style="*width: 211px;">
                                    <button type="submit" style="width: 211px;">注&nbsp;&nbsp;&nbsp;&nbsp;册</button>
                                </span>
                            </li>
                            <li>
                                <div class="error">@Html.ValidationSummary()</div>
                                <span style="float: right; padding-right: 10px; "><a href="@Url.Action("LogOn", "Account")">登录</a></span>
                                <span style="float: right; padding-right: 38px;"><a href="@Url.Action("Index", "Home", new { area = "" })">首页</a></span>
                            </li>
                        </ul>
                    </div>
                    <div class="right" style="height: 510px;"></div>
                </div>
                
            </div>
        
        }
    </div>
    <div class="space" style="height: 20px;"></div>
     @Html.Partial("PartialFooter")
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.placeholder.js")"></script>
    <script type="text/javascript">
        $('input, textarea').placeholder();
    </script>
</body>
</html>


